.page-container {
  width: 100%;
  background-color: #f8f8f8;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 30rpx;
  background-color: #fff;
  border-bottom: 1rpx solid #eee;

  .city-select {
    font-size: 32rpx;
    color: #333;
    position: relative;

    .arrow {
      margin-left: 10rpx;
      font-size: 24rpx;
    }
  }

  .store-info {
    font-size: 26rpx;
    color: #666;
    background-color: #f0f0f0;
    padding: 6rpx 16rpx;
    border-radius: 20rpx;
  }
}

.quick-access-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 30rpx;
  gap: 30rpx;
  background-color: #fff;
}

.quick-item {
  width: 150rpx;
  text-align: center;
  font-size: 28rpx;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20rpx 0;
}

.quick-item text,
.func-item text {
  font-size: 22rpx;
  color: #676767;
}

.icon {
  width: 80rpx;
  height: 80rpx;
  margin-bottom: 10rpx;
}

.promise-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 30rpx;
  background-color: #fff;
  border-bottom: 1rpx solid #eee;
  font-size: 28rpx;
  color: #e93b3d;
  margin-top: 20rpx;
}

.service-cards {
  display: flex;
  gap: 30rpx;
  padding: 30rpx;
  background-color: #fff;

  .card-item {
    flex: 1;
    border-radius: 16rpx;
    overflow: hidden;
    box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.1);

    .card-img {
      width: 100%;
      height: 300rpx;
    }

    .card-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10rpx 0;
    }

    .card-title {
      font-size: 32rpx;
      color: #333;
      font-weight: bold;
      margin-bottom: 8rpx;
    }

    .card-desc {
      font-size: 24rpx;
      color: #666;
    }
  }
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30rpx;
  padding: 30rpx;
  background-color: #fff;
}

.func-item {
  text-align: center;
  font-size: 28rpx;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20rpx 0;
}

.recommend-section {
  background-color: #fff;
  padding: 30rpx;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;

  .title {
    font-size: 32rpx;
    color: #333;
    font-weight: bold;
  }

  .tabs {
    white-space: nowrap;
    display: flex;
    align-items: center;

    .tab {
      font-size: 28rpx;
      color: #999;
      margin-right: 30rpx;
      padding: 10rpx 0;
    }

    .tab-active {
      font-size: 28rpx;
      color: #e93b3d;
      font-weight: bold;
      position: relative;
    }

    .tab-active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 4rpx;
      background-color: #e93b3d;
    }
  }
}

.recommend-swiper {
  width: 100%;
  height: 300rpx;
  border-radius: 16rpx;
  overflow: hidden;

  .recommend-img {
    width: 100%;
    height: 100%;
  }
}

/* 新增样式 */
.content-wrapper {
  margin-top: 20rpx;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20rpx;
  padding: 20rpx;
}

.grid-item {
  background-color: #fff;
  border-radius: 16rpx;
  overflow: hidden;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.1);
}

.item-image {
  width: 100%;
  height: 380rpx;
}

.item-info {
  padding: 16rpx;
}

.item-tag {
  font-size: 22rpx;
  color: #666;
  background-color: #f5f5f5;
  padding: 4rpx 12rpx;
  border-radius: 8rpx;
  margin-bottom: 12rpx;
}

.item-title {
  font-size: 24rpx;
  color: #333;
  line-height: 1.4;
  margin-bottom: 12rpx;
}

.meta-text {
  font-size: 22rpx;
  color: #999;
  margin-bottom: 12rpx;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24rpx;
  color: #666;
  flex-wrap: wrap; /* 允许换行 */
}

.footer-text {
  margin-right: 16rpx;
  font-size: 20rpx;
  margin-bottom: 8rpx; /* 添加底部间距实现换行 */
}

.action-group {
  display: flex;
  align-items: center;
  margin-bottom: 8rpx; /* 添加底部间距实现换行 */
}

.action-text {
  font-size: 20rpx;
  color: #e93b3d;
  padding: 4rpx 12rpx;
  background-color: #ffebee;
  border-radius: 8rpx;
  margin-right: 12rpx;
}

.like-count {
  font-size: 24rpx;
  color: #999;
}

.image-swiper {
  height: 400rpx;
  .swiper-image {
    width: 100%;
    height: 100%;
  }
}